<%@ page contentType="text/html; charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp" %>


<c:choose>
	<c:when test="${fn:length(REPORT_LIST) == 0}">
		<div style="width:650px;padding-top:10px;padding-left:20px;font-size: 16px;color: red;font-weight: 600;letter-spacing: 4px;vertical-align: middle; ">
			<img src="${appPath }/resource/image/warning.png" />
			查無筆數，請重新查詢
		</div>
	</c:when>
	<c:otherwise>
		<table style="width:650px;background-color:#ffffff;border:1px solid #D2D9E7;" >	
			<tr class="trHeader">
				<td style="width:05%;text-align: center;font-size:12px;">序號</td>
				<td style="width:10%;text-align: center;font-size:12px;">帳號</td>
				<td style="width:65%;text-align: center;font-size:12px;">問題描述</td>
				<td style="width:20%;text-align: center;font-size:12px;">問題時間</td>
			</tr>
			
			<c:forEach var="rlist" items="${REPORT_LIST}" varStatus="s">
				<tr class="trContent">
					<td style="text-align: center;font-weight: 600;">${rlist.seq_no }</td>
					<td style="padding-left:10px;">${rlist.users.username }</td>
					<td style="padding-left:10px;">${rlist.problem_desc }</td>
					<td style="text-align: center;">${rlist.problem_date }</td>
				</tr>
			</c:forEach>
		</table>
	</c:otherwise>
</c:choose>



